Repository navigation
Conversation
旧版实现已由 shadowsocks/ShadowsocksX-NG 的 legacy-v1 分支跟踪,本仓库不再 保留同一份代码副本。删除 Legacy/ 下 603 个跟踪文件,被 gitignore 的 .DS_Store 一并清理。 删除前核对:Legacy/ShadowsocksX-NG/PACUtils.swift 的 blob hash 与 upstream/legacy-v1 的同名文件完全相同,且工作区在 Legacy/ 下无未提交改动。 配套改动: - 根 README、AGENTS.md、ShadowsocksX-NG2/README.md:目录结构只留 ShadowsocksX-NG2/;旧版说明改为指向 shadowsocks/ShadowsocksX-NG 的 legacy-v1 分支(含其 README);pre-commit 说明去掉 Legacy/。 - codegraph.json 删除 "exclude": ["Legacy/"];.gitignore 与 .zcodeignore 删除 Legacy 构建产物与依赖条目;.swiftlint.yml 删除 ../Legacy 排除项; .githooks/pre-commit 头部注释去掉冻结目录表述。 - docs/research 的 4 份历史研究报告(issue 7/11/12/17)中 129 处 ../../Legacy/... 相对链接改写为 legacy-v1 的 GitHub blob 链接,正文未改; 把新 URL 反替换回原相对路径后与 HEAD 版本逐字节相同,证明只动了链接。 验证:全仓库不再有指向 Legacy/ 的路径引用;剩余 Legacy 字样均为概念性用法 (Legacy 导入功能、ADR 与术语表、历史报告正文中的冻结陈述)。本次未改任何 NG2 源码或构建配置,暂存区无 NG2 .swift 文件,pre-commit 直接放行。
对照 ~/.agents/skills/setup-matt-pocock-skills 的当前模板逐字节核对三份配置: - triage-labels.md 与模板完全一致,无漂移,未改动。 - domain.md 同步标点(— 改为 :)与措辞(Single-context repo (this repo) 改为 (most repos)),现与模板一致。 - issue-tracker.md 同步标点漂移,并把硬编码的 --repo qiuyuzhou/ShadowsocksX-NG 换成从 clone 推导 (gh repo view --json nameWithOwner)后显式 pin。保留「绝不写入其他仓库」的 安全规则与那次误发事故的教训,但去掉仓库名,使该配置在合并进上游后仍然成立。 AGENTS.md 的一行摘要同步去掉仓库名。 .scratch/ 加入 .gitignore 与 .zcodeignore:这是 setup-matt-pocock-skills 为 local-markdown tracker 约定的目录,切到本地 tracker 时 spec 文件不落进 git。 docs/design/ 与 docs/research/ 的去留尚未决定,本次不引入任何排除机制。
两类文档来源不同,处理方式也不同: - system-proxy-runtime-control-spec.md、terminal-command-address-spec.md 是 to-spec 技能的原样产物(英文模板小节标题,无标题与日期头)。其内容已发布为 Issue #72 / #73,人类需要的信息已由同日提交的无后缀中文文档承载;在仓库里再 存一份,等于同一份规格有两个事实来源。删除后仍可从 git 历史追回。 - user-plugin-*-spec.md 四份来自 improve-codebase-architecture 会话:该技能把 报告写进 OS 临时目录、不写 docs/design/,因此这四份是模型模仿仓库既有 -spec.md 旧例命名(“猜测旧例”而非技能指令)。去掉后缀后仓库不再有该样板, 后续模型少了可模仿的命名来源。四份保留原名主体,内容不动。 影响面:这六份文件全仓库零入站引用(含 docs/ 内部),移除与改名都无需改写链接。 docs/design/ 现为 12 份,无一带 -spec 后缀,与 AGENTS.md 的定位一致。 有意不做:不加“docs/design/*.md 必须带可解析 日期:/状态: 头”的确定性检查。 AI 输出本就无法保证规范化;更关键的是这类文档的“状态”只描述某次改进上下文, 不跟踪现状,把它当可校验字段是假精确。日期是写作时点的事实,两回事。
该视图是 ServersView serverSidebar 目录树的树行内容,与 MainWindowView 外层窗口侧栏的 sidebarRow 无关;更名后与 serverSidebar 及 Home 侧 HomeServerListRow 的「范围前缀 + Row」先例一致。文件沿用 git mv 保留 Workspace → Servers 的移动链,ServersView 两处引用同步更新,工程已 重新生成。
此实现企图通过捕获对列表空白区域的点击以触发移除列表的当前选中项
…d server count message
Replace the inline RulesDeletionButton with a toolbar delete button (trash icon next to the add button). It is enabled only when the custom-rules source is selected on the left and the selection contains deletable custom rules; the collection must also be complete and not committing. The table context menu gains a destructive "删除 (N)" item after a divider when the custom-rules source is selected, with the same enablement conditions. Both entries share one confirmation alert now held by RulesView. Also inline the operation status view into the filter row and tighten filter-area padding.
Remove the inline name TextField and save button from GroupDetailView; renaming stays in the sidebar context menu, and the empty-group footnote no longer claims the name is editable. Make the detail pane observe the catalog workflow instead of holding a plain reference, so catalog commits made elsewhere (sidebar rename, add/move, subscription refresh) re-render it. This fixes the stale group title after a context-menu rename, along with the equally stale direct-child count and activation eligibility text.
The pre-filled current name in the rename alert only showed on the first presentation: SwiftUI on macOS recycles the alert panel and its TextField does not pick up binding changes made in the same update as re-presenting. Swap the alert for a RenameGroupSheet modeled on NewGroupSheet, presented via sheet(item:) so content state is rebuilt each time and the prefill always matches the target group. As with the creation form, a failed rename now keeps the sheet open with the entered name instead of closing the alert first and losing the input. The NodeContext adapter previously used by the move sheet is shared by both presentations. Add the manual catalog keys 重命名分组 (Rename Group) and 名称 (Name); 保存/取消 already existed.
Replace the fixed HStack + Divider layout with a draggable HSplitView: sidebar constrained to 240-320 (ideal 280), detail pane gets a 320 min width. Divider position is not persisted (no public API; resets on tab switch and relaunch - accepted trade-off). Drop the sidebar list style so the list sits on the regular window background.
Remove TargetTreeCard, its browsing state HomeServerListState and the dedicated tests; home now shows mode, runtime control, terminal command and quick action cards only. ActivationFeedbackState stays shared by the servers sidebar and group detail activation entries.
CatalogEntry gains createdAt/updatedAt and the catalog document moves to v5 (reads v1-v5, writes v5). Modification time is structure-sensitive: editing a node's own fields bumps the node, a group's direct child set or order changes bump the group, and a moved node keeps its timestamps. No-op writes and unchanged subscription refreshes bump nothing; the refresh rebuild compares per node, so surviving leaves keep theirs. All times are passed in by callers as now: Date - one moment per logical commit, the domain layer stays clock-free. Legacy documents load with nil (unknown, never backfilled); duplicates and imports stamp fresh times at the moment of the operation. Semantics are recorded as glossary term 节点时间戳 and ADR 0031. No UI in this change.
Render saved node details through a shared property view with injected link actions. Keep metadata, activation feedback, and plugin parameter loading outside the renderer; retain specific plugin failures and scope command feedback to its target. Preserve ordered and repeated plugin parameters, distinguish flags and empty values, and retain opaque raw text. Add bilingual detail copy and conversion coverage. Validation: 981 hostless tests and 21 offline rule checks passed; Debug build passed. Native renderer checked at 720 and 360 point widths using synthetic data. Existing 22 lint warnings remain.
Initial multi-server checks can consume the entire five-second listener budget before sslocal binds its inbound ports. Allow 15 seconds for listeners and 30 seconds for GUI startup health confirmation. Include endpoint readiness diagnostics and a delayed-start regression.
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 7.0.2. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@ea165f8...cf430e0) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: 7.0.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Qiu Yuzhou <qbowater@gmail.com>
The runtime control card hint described every state: what enabling does while off, what it waits for while pending, and progress while applying or repairing. For failures, changed settings and unreadable settings it only restated the row or pointed at the reason or interface list shown directly below it. Keep the hint only where it says something the card shows nowhere else: helper approval pending and paused. The hint becomes optional, the card renders it conditionally, and the ten catalog entries that no longer have a reference are removed.
Co-authored-by: sh4wn <shawn@xiangyang.li>
Runner scheduling can delay cancellation assertions and health-probe notifications. Use the transport outcome and update the plugin mapping inside the health probe to verify both behaviors directly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )